package com.company.高级.多线程09;

public  class ThreadTest{
    public static void main(String[] args) {
        //创建MyThread类的子类
        MyThread myThread=new MyThread();
        //4.通过此对象调用start()方法
        MyThread myThread1=new MyThread();
        MyThread myThread2=new MyThread();
        myThread1.start();
        myThread.start();
        myThread2.start();
        System.out.println("hello");
    }
}
